{imp:"c_pub/alay_main"}<!--继承父模板-->

{block:extop}<?php
$key = empty($this->key) ? 'tplbase' : $this->key;
$kar = array(
    'tplbase' => '模版基础',
    'tplsuit' => '整套模版',
    'tagbase' => '标签基础',
    'tagjs'   => 'js标签',
);
$subs = tex('texBase')->docer("d_tpltag/doc_$key"); 
$sub = req('sub',''); //include
$titletop = $kar[$key].'-模板标签';
$titlesub = $kar[$key]; 
?>{/block:extop}

{block:exbar}{/block:exbar}

{block:exmain}
    
    <?php foreach($subs as $k=>$v){ ?>
    <ul id="s_{=$k}" class="mod-section">
      <li class="type">{=$_cbase['sys_name']} {=$v[title]} <span class="right">--- <a href="#">[Top]</a></span></li>
      {=$v[detail]}
    </ul>
    <?php } ?>
    
{/block:exmain}
